


    <article id="whole">
    <div id="entry">
    <ul id="masonry" class="slider"> 
        
        <li class="block">
        <div style="background-color: antiquewhite">
             <div class="blogger1">
                <h2 class="illust-title">#作品展示</h2>
               
    <?php
    $count = 0;   //记录图片数，控制行数；
        while($thread=mysql_fetch_row($query)){
            if($count%3==0)
                echo " <ul class='illust-content'>";
            $count++;
            $id = $thread[0]; //此时的是图片id
            $houzui = explode("/",$thread[3])[1];
            $name = $thread[1];     //图片的名字，alt
            $url = $thread[5];
            echo "<li class='pix-card'>";
            echo "<div class='illust'>   <div class='el-image'>";
            echo "<img src='$url?x-oss-process=image/resize,m_fill,w_450'  alt='$name' width='32' height='32' class='el-image__inner'/> ";
           echo "</div>  </div>  </li>";
            
            if($count%3==0)
                echo "</ul>";
    }
        
        
    
   
    ?>
        
                  
            </div>
        </div>
        </li>
    </ul>
    </div>
    </article>
